/**
 * Copyright (C) 2016 Juno Inc., All Rights Reserved.
 */
package com.jyl.designPattern.structure.decorator;

/**
 *
 * @author Long, E-mail:jyl0401@163.com
 * @date 2019年4月20日 下午9:24:33
 */
public class Mocha extends CondimentDecorator{
	
	public Mocha(Beverage beverage){
		this.beverage = beverage;
	}

	public double cost() {
		return 1+beverage.cost();
	}

}
